// vite.config.ts
import { defineConfig } from "file:///E:/TianBo/tianbo-intelli-office/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/TianBo/tianbo-intelli-office/node_modules/@vitejs/plugin-vue/dist/index.mjs";
var vite_config_default = defineConfig({
  // base: './',
  server: {
    port: 8080,
    host: "0.0.0.0",
    proxy: {
      "/dev-api": {
        target: "http://192.168.98.177:8080/",
        // target: 'http://192.168.18.2:8080/',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/dev-api/, "")
      },
      "/cgt-api": {
        target: "http://192.168.19.5/api.php",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/cgt-api/, "")
      }
    }
  },
  plugins: [vue()]
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxUaWFuQm9cXFxcdGlhbmJvLWludGVsbGktb2ZmaWNlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJFOlxcXFxUaWFuQm9cXFxcdGlhbmJvLWludGVsbGktb2ZmaWNlXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9FOi9UaWFuQm8vdGlhbmJvLWludGVsbGktb2ZmaWNlL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcclxuaW1wb3J0IHZ1ZSBmcm9tICdAdml0ZWpzL3BsdWdpbi12dWUnXHJcblxyXG5leHBvcnQgZGVmYXVsdCBkZWZpbmVDb25maWcoe1xyXG4gIC8vIGJhc2U6ICcuLycsXHJcbiAgc2VydmVy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